package com.peace.hospital.entity.outpatientdept;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 药品处方收费表
 * </p>
 *
 * @author 谢晓峰
 * @since 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Drugcharges implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 药品收费编号
     */
    @TableId(value = "drid", type = IdType.AUTO)
    private Integer drid;

    /**
     * 员工编号
     */
    private Integer staid;

    /**
     * 病人id
     */
    private Integer pid;

    /**
     * 药品id
     */
    private Integer drugid;

    /**
     * 药品数量
     */
    private Integer drnum;

    /**
     * 价格单位id
     */
    private Integer pridrugprice;

    /**
     * 开具时间
     */
    private Timestamp drstarttime;

    /**
     * 收费状态
     */
    private Integer drstate;

    /**
     * 备注
     */
    private String drremarks;

    /**
     * 收费数据库名
     */
    private String drdbsource;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getDrid() {
        return drid;
    }

    public void setDrid(Integer drid) {
        this.drid = drid;
    }

    public Integer getStaid() {
        return staid;
    }

    public void setStaid(Integer staid) {
        this.staid = staid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getDrugid() {
        return drugid;
    }

    public void setDrugid(Integer drugid) {
        this.drugid = drugid;
    }

    public Integer getDrnum() {
        return drnum;
    }

    public void setDrnum(Integer drnum) {
        this.drnum = drnum;
    }

    public Integer getPridrugprice() {
        return pridrugprice;
    }

    public void setPridrugprice(Integer pridrugprice) {
        this.pridrugprice = pridrugprice;
    }

    public Timestamp getDrstarttime() {
        return drstarttime;
    }

    public void setDrstarttime(Timestamp drstarttime) {
        this.drstarttime = drstarttime;
    }

    public Integer getDrstate() {
        return drstate;
    }

    public void setDrstate(Integer drstate) {
        this.drstate = drstate;
    }

    public String getDrremarks() {
        return drremarks;
    }

    public void setDrremarks(String drremarks) {
        this.drremarks = drremarks;
    }

    public String getDrdbsource() {
        return drdbsource;
    }

    public void setDrdbsource(String drdbsource) {
        this.drdbsource = drdbsource;
    }
}
